package com.ymatou.iapi.liveseller.testcase;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.ymatou.iapi.liveseller.parameter.QuerySellerLiveListBean;
import com.ymatou.iapi.liveseller.service.QuerySellerLiveListCall;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.*;
import com.ymt.utils.tag.*;
/**
*运营查询直播
*FreeMaker Template自动生成代码
*/
@TestSuite
public class Ts_QuerySellerLiveList{
	private static QuerySellerLiveListBean querysellerlivelistBean;
	private static QuerySellerLiveListCall querysellerlivelistCall;
	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("运营查询直播");
	}

	@Before
	public void caseUp() {
		querysellerlivelistBean=new QuerySellerLiveListBean();
		querysellerlivelistCall=new QuerySellerLiveListCall();
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(querysellerlivelistCall.getOpurl());
	}

	@After
	public void caseDown() {
		Logger.end();
	}
	//运营接口尚未实现
	@Test
	@Category({P1.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_001() {
		Logger.start(true,"status0未开始运营查询直播成功");
		try {
			querysellerlivelistBean.setLiveStatus(0);
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			Logger.verifyEquals("200", querysellerlivelistCall.getString("Code"), "验证Code");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P3.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_002() {
		Logger.start(true,"不输入liveid失败");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P3.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_003() {
		Logger.start(true,"不输入ProductId失败");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_004() {
		Logger.start(true,"输入错误ProductId失败");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_005() {
		Logger.start(true,"status0未开始运营查询直播成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_006() {
		Logger.start(true,"status1开始时间已到待开始运营查询直播成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_007() {
		Logger.start(true,"status2已经推流直播运营查询直播成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_008() {
		Logger.start(true,"status3已经断流直播运营查询直播成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_009() {
		Logger.start(true,"status7系统自动关闭排序成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_010() {
		Logger.start(true,"status8未推流关闭直播排序成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_011() {
		Logger.start(true,"status9已推流结束直播排序成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_012() {
		Logger.start(true,"status10运营强制关停排序成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_013() {
		Logger.start(true,"全部查询分页查询成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_014() {
		Logger.start(true,"按LiveName查询成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_015() {
		Logger.start(true,"按SellerName查询成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_016() {
		Logger.start(true,"按StartTime查询成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P2.class})
	@TestCase
	@Ignore
	public void Tc_QuerySellerLiveList_017() {
		Logger.start(true,"按EndTime查询成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			querysellerlivelistCall.setData(querysellerlivelistBean);
			querysellerlivelistCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
}